package com.quick;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;


@SpringBootApplication
public class QuickWarApplication extends SpringBootServletInitializer {
	/**
	 * 修改点3
	 * @param application
	 * @return
     */
	@Override
	protected SpringApplicationBuilder configure(SpringApplicationBuilder application){
		return application.sources(QuickWarApplication.class);
	}

	public static void main(String[] args) {
		SpringApplication.run(QuickWarApplication.class, args);
	}
}
